package com.hxs.email.config;

import com.hxs.email.pojo.entity.User;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import java.util.List;

@Configuration
@Data
@ConfigurationProperties(prefix = "user-list") // 配置前缀
public class UserListConfig {
    private List<User> users;
}